package com.ruoyi.project.mahjong.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 消费清单对象 t_consumption_order
 *
 * @author ruoyi
 * @date 2023-07-31
 */
public class TConsumptionOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;
    private Long isDel;

    /** 对应结算列表表id，绑定此人消费清单 */
    @Excel(name = "对应结算列表表id，绑定此人消费清单")
    private Long settlementId;

    /** 序号 */
    @Excel(name = "序号")
    private Long number;

    /** 桌号 */
    @Excel(name = "桌号")
    private Long tableNumber;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String type;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private Double price;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    private String commodityName;

    private String deskNumber;


    private String memberName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSettlementId(Long settlementId)
    {
        this.settlementId = settlementId;
    }

    public Long getSettlementId()
    {
        return settlementId;
    }
    public void setNumber(Long number)
    {
        this.number = number;
    }

    public Long getNumber()
    {
        return number;
    }
    public void setTableNumber(Long tableNumber)
    {
        this.tableNumber = tableNumber;
    }

    public Long getTableNumber()
    {
        return tableNumber;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setPrice(Double price)
    {
        this.price = price;
    }

    public Double getPrice()
    {
        return price;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("settlementId", getSettlementId())
                .append("number", getNumber())
                .append("tableNumber", getTableNumber())
                .append("type", getType())
                .append("price", getPrice())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("state", getState())
                .toString();
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getDeskNumber() {
        return deskNumber;
    }

    public void setDeskNumber(String deskNumber) {
        this.deskNumber = deskNumber;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }
}
